home *** CD-ROM | disk | FTP | other *** search
- /*
- File: Application.h
-
- Contains: xxx put contents here xxx
-
- Written by: Tim Harnett
-
- Copyright: © 1994 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- 9/29/94 TMH xxx put comment here xxx
-
- To Do:
- */
-
-
-
- #ifndef __SwapPMSAM__
- #define __SwapPMSAM__
-
- #ifndef __OCE__
- #include "OCE.h"
- #endif
-
- #ifndef __OCEMAIL__
- #include "OCEMail.h"
- #endif
-
- class CRecordID;
-
- //---------------------------
- // M i s c e l l a n y
- //----------------------------
-
- #define kSleepTime 60*60
- #define kQuitFileGateResult -2
-
-
- //--------------------------------------
- // T A p p l i c a t i o n
- //--------------------------------------
-
-
- class TApplication {
- public:
- TApplication();
-
- void IApplication();
- OSErr InitAuth();
-
- void Run();
- OSErr HandleEvent(EventRecord *ev);
- OSErr HandleCoreEvents(long messageID,Ptr buff,unsigned long msgLen);
- OSErr DoHighLevelEvent(EventRecord *ev);
-
- private:
-
- long fWNESleepTime;
-
- };
-
- #endif __SwapPMSAM__
-
-